package com.collect.tanzania.zhiBean.zhiReceive;

import com.collect.tanzania.zhiGlobal.zhiAppSettings.ZHIProjectConstants;
import com.collect.tanzania.zhiUtils.StringUtil;

import java.io.Serializable;

public class ZHIRPerformanceMonthEntity implements Serializable {
    private String currentMonthBonus;
    private String month;
    private ZHIRPerformanceB1Entity B1;
    private ZHIRPerformanceB2Entity B2;
    private ZHIRPerformanceB3Entity B3;

    public String getCurrentMonthBonus() {
        return StringUtil.safeString(currentMonthBonus);
    }

    public String getCurrentMonthBonusFormat() {
        return ZHIProjectConstants.RS_FLAG + StringUtil.numberTothousandFormatter(getCurrentMonthBonus());
    }

    public String getCurrentMonthBonusFormatWithoutFinceUnit() {
        return StringUtil.numberTothousandFormatter(getCurrentMonthBonus());
    }

    public void setCurrentMonthBonus(String currentMonthBonus) {
        this.currentMonthBonus = currentMonthBonus;
    }

    public String getMonth() {
        return StringUtil.safeString(month);
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public ZHIRPerformanceB1Entity getB1() {
        if (B1 == null) {
            B1 = new ZHIRPerformanceB1Entity();
        }
        return B1;
    }

    public void setB1(ZHIRPerformanceB1Entity b1) {
        B1 = b1;
    }

    public ZHIRPerformanceB2Entity getB2() {
        if (B2 == null) {
            B2 = new ZHIRPerformanceB2Entity();
        }
        return B2;
    }

    public void setB2(ZHIRPerformanceB2Entity b2) {
        B2 = b2;
    }

    public ZHIRPerformanceB3Entity getB3() {
        return B3;
    }

    public void setB3(ZHIRPerformanceB3Entity b3) {
        if (B3 == null) {
            B3 = new ZHIRPerformanceB3Entity();
        }
        B3 = b3;
    }
}
